<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Pesquisa extends CI_Controller {

/*
 * Controller da tela de pesquisa
 */
    public function index()
    {
        if($this->session->userdata("logged_in"))
            $navbar = 'menu/navbar_interna';
        else 
            $navbar = 'menu/navbar_externa';
        
        
        $view = array(
           'main_view' => 'pesquisa/pesquisa',
           'main_view_data' => "",
           'title' => 'Pesquisa',
           'menu' => array(
               'navbar' => $navbar,
               'active_menu_item' => 'pesquisa'
           )
        );
        
        $this->load->view('template/template',$view);
    }
}